<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
<link rel="stylesheet" href="__PUBLIC__/css/admin.css">
<script src="__PUBLIC__/js/jquery.js"></script>
<script src="__PUBLIC__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder"> 大师信息列表</strong></div>
  <div class="padding border-bottom">  
  <button type="button" class="button border-yellow" onclick="window.location.href='__APP__/Admin/Master/add'"><span class="icon-plus-square-o"></span> 添加大师</button>
  </div>
  <table class="table table-hover text-center">
    <tr>
      <th width="5%">ID</th>
      <th width="15%">大师照片</th>
      <th width="10%">大师姓名</th>
      <th width="20%">大师简介</th>
      <th width="10%">大师分类</th>
      <th width="10%">被赞次数</th>
      <th width="10%">大师课堂</th>
       <th width="10%">大师问答</th>
      <th width="10%">操作</th>
    </tr>
   
    <volist name="master" id="in">
    <tr>
      <td>{$in.mid}</td>     
      <td><img src="__PUBLIC__/images/{$in.mpicture} "width="60" height="60"></td>  
      <td>{$in.mname}</td>
      <td>{$in.mcontent}</td>
      <td>{$in.mclassify}</td>
      <td>{$in.msurname}</td>
      <td>{$in.mcourses}</td>
      <td>{$in.mquestion}</td>
      <td><div class="button-group">
      <a class="button border-main" href="#add"><span class="icon-edit"></span> 修改</a>
      <a class="button border-red" href="delmaster/mid/{$in.mid}" onclick="return del(1,1)"><span class="icon-trash-o"></span> 删除</a>
      </div></td>
    </tr>
  </volist>
  
    
  </table>
</div>
<script type="text/javascript">
function del(id,mid){
	if(confirm("您确定要删除吗?")){
	
	}
}
</script>
<div class="panel admin-panel margin-top" id="add">
  
</div>
</body></html>